home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11932 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  817 b 

  1. Path: news.tu-chemnitz.de!news
  2. From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
  3. Newsgroups: comp.dsp,comp.lang.c
  4. Subject: Re: C code .vs. Assembly code for Microcontrollers/DSPs ?
  5. Date: 26 Mar 96 20:51:26 GMT
  6. Organization: University of Technology Chemnitz, FRG
  7. Message-ID: <4j9lfh$o2l@narses.hrz.tu-chemnitz.de>
  8. References: <620174950wnr@dstrip.demon.co.uk>
  9. NNTP-Posting-Host: sisyphus.hrz.tu-chemnitz.de
  10.  
  11. Steve Rencontre <Steve@dstrip.demon.co.uk> writes:
  12.  
  13. >Oh yes it can!
  14.  
  15. >    ...    
  16. >    int var1, var2;
  17. >    int *var1p = &var1;
  18. >    var1p[-1] = 0;
  19. >    ...
  20.  
  21. Post this to comp.lang.c[.moderated] and you will be told that this
  22. leads to undefined behavior and something like that. 
  23.  
  24. h.f.s.
  25. --
  26. Hans Friedrich Steffani
  27. Institut fuer Elektrische Maschinen und Antriebe
  28. TU Chemnitz-Zwickau
  29. e-mail: hans.steffani@e-technik.tu-chemnitz.de
  30.